package DomainLayer;

public class Printer {//Tdu da printer yarat
	
	public void printTicket(Ticket ticket){
		if(ticket != null){
		System.out.println("\n Ticket Number: " + ticket.getTicketNo() + "\n Service Type "+ ticket.getServiceType() 
				+  "\n Date: "+ ticket.getDate()+ "\n Other Message " +Ticket.getOthermessage());
		}
		else{
			System.out.println("Null Error");
		}
	}
	
}
